package com.ecube.maintenance.utils;

import java.util.HashMap;
import java.util.Map;

public class BaseParameters {

	Map<String, String> mParmas;
	
	public BaseParameters(){
		mParmas = new HashMap<String, String>();
        add("deviceID",DeviceUtil.getIMEI());
        long timestamp = System.currentTimeMillis();
        add("timestamp",timestamp+"");
	}
	
	public void add(String key,String v){
		mParmas.put(key, v == null ? "":v);
	}
	public String get(String key,String v){
		return mParmas.get(key);
	}
	public Map<String, String> getParmas(){
		return mParmas;
	}
}
